package com.inspur.icity.bus.base.core.gaoderesult;

import java.util.List;
import java.util.Map;

/**
 * Created by jn-dinggao on 2017/12/20.
 * 搜索地点
 */
public class PlaceTextResult {

    /**
     * 结果状态值，值为0或1   0：请求失败；1：请求成功
     */
    private String status;
    /**
     * 返回状态说明 status为0时，info返回错误原因，否则返回“OK”。
     */
    private String info;
    /**
     * 搜索方案数目(最大值为1000)
     */
    private String count;
    /**
     * 城市建议列表
     */
    private Map<String,Object> suggestion;
    /**
     * 搜索POI信息列表
     */
    private List<PoiResult> pois;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public Map<String, Object> getSuggestion() {
        return suggestion;
    }

    public void setSuggestion(Map<String, Object> suggestion) {
        this.suggestion = suggestion;
    }

    public List<PoiResult> getPois() {
        return pois;
    }

    public void setPois(List<PoiResult> pois) {
        this.pois = pois;
    }

    @Override
    public String toString() {
        return "PlaceTextResult{" +
                "status='" + status + '\'' +
                ", info='" + info + '\'' +
                ", count='" + count + '\'' +
                ", suggestion=" + suggestion +
                ", pois=" + pois +
                '}';
    }
}
